package com.foreknow.ex.oop;

public class TestStudent {
    public static void main(String[] args) {
        Student s1= new Student();
        s1.setName("fender");
        s1.setAge(30);
        String name= s1.getName();
        int age= s1.getAge();
        System.out.println(name+"---"+age);
        //        s1.name = "fender";
        //        s1.age =35;
        //        System.out.println(s1.name+"---"+s1.age);
        //        s1.game();
    }
}
